const multer = require('koa-multer')
const {AVATAR_PATH, PICTURE_PATH} = require('../contants/file-path')

const avatarUpload = multer({dest: AVATAR_PATH})
const avatarHandle = avatarUpload.single('avatar')

module.exports = {
  avatarHandle
}
